#!/usr/bin/env node

const fs = require('fs');
const file = process.argv[2];

//get file size
let len = fs.statSync(file).size;

//create buffer
let buf = Buffer.alloc(len);

//open -> handle
let fid;
